package com.weiguan.xmpp.api;

public class TestXmpp {
	public static void main(String[] args) {

		XmppRestApi.init("xmpp.weilive.cc", "xmpp.weilive.cc", "wdlanKhy6l1FvTJj");

//		System.out.println(XmppRestApi.getRoomUserCount("1043772"));
//		System.out.println(XmppRestApi.getRoomUsers("1043772"));
//		System.out.println(XmppRestApi.addUserToRoom("1043481", "1043772", XmppUserType.outcasts.toString()));
//		System.out.println(XmppRestApi.deleteUserFromRoom("1043481", "1043772", XmppUserType.outcasts.toString()));
//		System.out.println(XmppRestApi.lockUser("1043481"));
//		System.out.println(XmppRestApi.unLockUser("1043481"));
//
//		System.out.println(XmppRestApi.createUser("104348100", "104348100"));
//		System.out.println(XmppRestApi.updateUser("104348100", "1043481001", "1043481001"));
//
//		System.out.println(XmppRestApi.deleteUser("1043481001"));
//		System.out.println(XmppRestApi.deleteUser("104348100"));
//
//		System.out.println(XmppRestApi.isExistUser("104348100"));
//		System.out.println(XmppRestApi.isExistUser("1043481"));
//
//		System.out.println(XmppRestApi.isExistRoom("1043772"));
//		System.out.println(XmppRestApi.isExistRoom("10434801"));

		//System.out.println(XmppRestApi.createChatRoom("104348010"));
		//System.out.println(XmppRestApi.resetChatRoom("104348010"));
		
		System.out.println(XmppRestApi.deleteChatRoom("104348010"));
		
		//System.out.println(XmppRestApi.resetAllChatRoom());

	}

}
